Dreitier\Nadi\Vendor\Twig\Parser A

Total Complexity 71
Dependencies 20
Dependents 4
Total lines 351
Lines of code 222
Logical lines of code 132
Comment lines 15
Methods 28
Properties 12

Methods 28

Method Rating Maintainability Complexity Lines of code
subparse()
B
39 16 62
filterBodyNodes()
A
47 17 30
parse()
A
45 9 40
setParent()
S
64 3 9
hasInheritance()
S
78 2 3
setBlock()
S
68 2 6
addImportedSymbol()
S
77 1 3
getCurrentToken()
S
81 1 3
getStream()
S
82 1 3
getParent()
S
75 1 4
getExpressionParser()
S
82 1 3
popLocalScope()
S
81 1 3
pushLocalScope()
S
80 1 3
isMainScope()
S
79 1 3
getImportedSymbol()
S
76 1 3
__construct()
S
91 1 2
embedTemplate()
S
76 1 4
getVarName()
S
78 1 3
addTrait()
S
80 1 3
setMacro()
S
80 1 3
hasMacro()
S
74 1 4
getBlock()
S
74 1 4
hasBlock()
S
74 1 4
pushBlockStack()
S
80 1 3
popBlockStack()
S
81 1 3
peekBlockStack()
S
78 1 3
getBlockStack()
S
75 1 4
hasTraits()
S
74 1 4